package com.amado.course45mysql03.service;

import java.util.List;

import com.amado.course45mysql03.domain.Role;
import com.amado.course45mysql03.domain.RoleOptMapping;
import com.amado.course45mysql03.vo.Page;

public interface RoleOptMappingService {
	boolean add(List<RoleOptMapping> t);

	boolean upadte(RoleOptMapping t);

	boolean isExists(String roleCode);

	boolean delete(String roleCode);

	RoleOptMapping getByCode(String roleCode);

	List<RoleOptMapping> listAll();
}
